import bus from "@/bus";
let data = {
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  form: {
    // departmentObj: {},
    // officeId: null,
    // departmentId: null,
    // distributorId: null,
    brandId: null,

    
    distributorId: null,
    officeId: null,
    departmentId: null,
  },
  branch: [],
  columns: [{
    title: '经销商名称',
    key: 'distributorName',
    minWidth: 200,
    align: 'left',
    tooltip: true
  }, {
    title: '所属区域',
    key: 'distributorAreaName',
    align: 'left',
    minWidth: 200,
    render: (h, p) => {
      let text = p.row.provinceName + p.row.cityName + p.row.areaName + p.row.address
      return <div class="e1" title={text}>{text || ''}</div>
    }
  }, {
    title: '联系人',
    key: 'distributorContact',
    align: 'left',
    minWidth: 150
  }, {
    title: '品牌',
    key: 'bindBrandNames',
    align: 'left',
    minWidth: 200
  },  {
    title: '联系方式',
    key: 'distributorMobile',
    align: 'left',
    minWidth: 150
  }, {
    title: '剩余积分',
    key: 'availableIntegral',
    align: 'right',
    minWidth: 100
  }, {
    title: '操作',
    align: 'right',
    fixed: 'right',
    minWidth: 80,
    render: (h, params) => {
      return h('div', [
        h("Button", {
          props: {
            size: "small",
            type: 'primary'
          },
          on: {
            click:() => {
              bus.$emit("checklRow", params.row)
            }
          }
        }, '奖惩'),
      ])
    }
  }],
  data: [{}]
}
export default data;
